package com.jmlee.pojo;


import java.util.Date;

/**
 * 商品图片
 */
public class ItemsImg {
    /**
     * 图片主键
     */
    private Long id;

    /**
     * 商品外键id
     */
    private Long itemId;

    /**
     * 图片地址 图片地址
     */
    private String url;

    /**
     * 顺序，从小到大
     */
    private Integer sort;

    /**
     * 是否主图 是否主图，1：是，0：否
     */
    private Integer isMain;

    /**
     * 创建时间
     */
    private Date createdTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }


    public String getUrl() {
        return url;
    }


    public void setUrl(String url) {
        this.url = url;
    }


    public Integer getSort() {
        return sort;
    }


    public void setSort(Integer sort) {
        this.sort = sort;
    }


    public Integer getIsMain() {
        return isMain;
    }


    public void setIsMain(Integer isMain) {
        this.isMain = isMain;
    }


    public Date getCreatedTime() {
        return createdTime;
    }


    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }


}
